package com.shawbs.vueblog.service;

import com.shawbs.vueblog.comom.Result;
import com.shawbs.vueblog.entity.Blog;
import com.shawbs.vueblog.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2021-08-12
 */
public interface UserService extends IService<User> {
    Result listPage(int page, int pageSize, String keyWord);
    User getById(Long id);

    Result addUser(User user);

    Result editUser(User user);

    Result removeUser(Long id);

    Result removeUsers(Collection ids);
}
